package com.xh.petdogexpert.sys.service;

import java.util.List;

import com.xh.petdogexpert.base.BaseException;
import com.xh.petdogexpert.sys.dto.Resource;


public interface IResourceService {
 


	public int deleteResource(Resource resource) throws BaseException;


	public List<Resource> queryResources(Resource resource);

	Resource getResource(Resource resource) throws BaseException;

	public Integer updateResource(Resource resource) throws BaseException;

	public Integer addResource(Resource resource) throws BaseException;


	public List<Resource> queryResourcesTree(Resource resource);


	List<Resource> makeTree(List<Resource> resources);


}